#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif
void Test1()
{
    vector<int> v = {1, 2, 3, 4, 5, -1, 9};
    int ret = Solution::Max(v);
    if (ret == 9)
    {
        std::cout << "测试用例1通过" << std::endl;
    }
    else
    {
        std::cout << "测试用例1没通过" << std::endl;
    }
}
void Test2()
{
    vector<int> v = {6,
                     5,
                     4,
                     3,
                     2,
                     1,
                     -6,
                     0};
    int ret = Solution::Max(v);
    if (ret == 9)
    {
        std::cout << "测试用例2通过" << std::endl;
    }
    else
    {
        std::cout << "测试用例2没通过" << std::endl;
    }
}
int main()
{
    Test1();
    Test2();
    return 0;
}